package com.itheima.homework1;

public class Clerk extends Employee{
    private String Manager; //经理

    @Override
    public void showMsg() {
        System.out.println(getDept()+"的："+getName()+",员工编号："+getWorkId());
        System.out.println("他的经理是"+Manager);
    }

    public Clerk() {
    }

    public Clerk(String manager) {
        Manager = manager;
    }

    public String getManager() {
        return Manager;
    }

    public void setManager(String manager) {
        Manager = manager;
    }
}
